﻿@model InternetClient2.Models.Cargo

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Cargocun</title>
    <link href="~/Content/Site.css" rel="stylesheet" />
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
  <style>
      #body1 {
          background-color: #0094ff;
          background-image: url('../../Img/QQ图片20180221112331.png');
          position:absolute;
          background-size:100%;
      }
      
      #table1 {
         position:center;
          height:600px;
          width:400px;
          text-align:center;
          font-size:12px;
          margin-left:1000px;
      }
      #div1 {
         position:absolute;
      }
  </style>
</head>
<body id="body1">
   

    <div id="div1">
        <h2 style="color:#ff0000">货物存储</h2>
        @using (Html.BeginForm())
        {
            <table id="table1" class="table table-bordered">
                <tr>
                    <td>货物名称</td>
                    <td>@Html.TextBoxFor(s=>s.Gname)</td>
                </tr>
                <tr>
                    <td>货物类型</td>
                    <td>@Html.ValidationMessageFor(model => model.Gname, "", new { @class = "text-danger" })</td>
                </tr>
                <tr>
                    <td>货物数量</td>
                    <td>@Html.TextBoxFor(s => s.Gnum)</td>
                </tr>
                <tr>
                    <td>进货单价</td>
                    <td>@Html.TextBoxFor(s => s.Gprice)</td>
                </tr>
                <tr>
                    <td>进货时间</td>
                    <td>@Html.TextBoxFor(s => s.Gtime)</td>
                </tr>
                <tr>
                    <td>货源</td>
                    <td>@Html.TextBoxFor(s => s.Gsourse)</td>
                </tr>
                <tr>
                    <td>货源电话</td>
                    <td>@Html.TextBoxFor(s => s.Gtelephone)</td>
                </tr>
                <tr>
                    <td>货物地址</td>
                    <td>@Html.TextBoxFor(s => s.Gaddres)</td>
                </tr>
                <tr>
                    <td colspan="2"><input id="Submit1" type="submit" value="进货" style="background-color:#ff0000;border:none" /></td>
                </tr>
            </table>

        }
    </div>
   
</body>
</html>
